/* 
 * File:   LZ77.h
 * Author: Daniela Meneses
 *
 */

#include "CompressionData.h"

/**
 * Compress the input data with the algorithm LZ77.
 * 
 * @param input Data to be compressed.
 * @param output Output where the data compressed will be saved.
 * 
 * @return A error code.
 */
CompressionErrorCode compressLZ77(const CompressionData& input, CompressionData* output);

/**
 * Decompress the input data with the algorithm LZ77.
 * 
 * @param input Data to be decompressed.
 * @param output Output where the data decompressed will be saved.
 * 
 * @return A error code.
 */
CompressionErrorCode decompressLZ77(const CompressionData& input, CompressionData* output);
